package test00.lx05.t02;

import java.util.function.Predicate;

/**
 * @author ZQX
 * @date 2025-04-07
 */
public class MainTest01 {
    public static void main(String[] args) {
        int score = 90;

        // boolean test(T t);
        Predicate<Integer> predicate = t -> t >= 60;

        boolean bl = predicate.test(score);

        System.out.println(bl ? "合格" : "不合格");
    }
}
